home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6847 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Messages vs. Semaphores for external clocking
  5. Date: 3 Apr 1996 22:24:48 +0200
  6. Organization: dis-
  7. Message-ID: <4jumqg$ss7@serpens.rhein.de>
  8. References: <4ju349$r1e@sparky.navsea.navy.mil>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. matuli_a@marlin.navsea.navy.mil (Alex Matulich 03T1 602-6691) writes:
  12.  
  13. >The time units number will be stored either in a Message or Semaphore.
  14. >Then my primary application, running at the same time, will be able to
  15. >access this time number any time it needs to.
  16.  
  17. This depends on when the primary application needs the data, how fast
  18. it has to get access and wether the data aquisition task is allowed
  19. to be blocked.
  20.  
  21. For example, if the data aquisition tasks must not be blocked and
  22. the primary task can handle some delay then you would use N messages.
  23. Whenever the data aquisition fills a message or the maximum delay
  24. is reached you send the message and use the next one. The primary
  25. task can then use the message without blocking the data aquisition.
  26.  
  27. Regards,
  28. -- 
  29.                                 Michael van Elst
  30.  
  31. Internet: mlelstv@serpens.rhein.de
  32.                                 "A potential Snark may lurk in every tree."
  33.